﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Core.IBusiness.IPushModule.Model
{
    public class InfoCommentModel : BaseArticlePush<InfoCommentContent>
    {
    }

    public class InfoCommentContent
    {
        /// <summary>
        /// 消息类型
        /// </summary>
        public string Type
        {
            get
            {
                return "info-comment";
            }
        }

        /// <summary>
        /// 信息模型
        /// </summary>
        public InfoCommentInfoModel Info { get; set; }

        /// <summary>
        /// 评论信息
        /// </summary>
        public CommentModel Comment { get; set; }
    }

    /// <summary>
    /// 信息模型
    /// </summary>
    public class InfoCommentInfoModel
    {
        /// <summary>
        /// 信息关键字
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 内容
        /// { content：‘’，images: [] }
        /// </summary>
        public string Content { get; set; }
    }
}
